package com.spsoft.workflow.model.dto.template;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;


@Data
public class WfProcessTemplateSaveDto {
    private static final long serialVersionUID = -8045418493088409316L;

    /**
     * 审批摸板ID
     */
    @ApiModelProperty(value = "审批摸板ID")
    private Long id;
    /**
     * 摸板名称
     */
    @ApiModelProperty(value = "模板名称")
    @NotNull(message = "模板名称不能为空")
    private String templateName;

    /**
     * 业务流程类型编码
     */
    @ApiModelProperty(value = "业务流程类型编码")
    @NotNull(message = "业务流程类型编码不能为空")
    private String busType;

    /**
     * 自定义流程
     */
    @ApiModelProperty(value = "流程定义json")
    @NotNull(message = "流程定义json不能为空")
    private String process;
    /**
     * 备注
     */

    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 自定义配置
     */
    @ApiModelProperty(value = "自定义配置")
    private String settings;
}
